import './css/restrat.css';
import './css/header.css';
import './css/cooperation.css';
// 
var i = document.querySelectorAll(".i")
var txt = document.querySelectorAll(".txt")
i.forEach(function (item, index) {
   item.addEventListener("mouseover", function () {
      item.style.display = "none"
      // txt.style.display = "block"
   })
   item.addEventListener("mouseout", function () {
      item.style.display = "block"
      // txt.style.display = "none"
   })
})
txt.forEach(function (item, index) {
   item.addEventListener("mouseover", function () {
      item.style.display = "none"
   })
   item.addEventListener("mouseout", function () {
      item.style.display = "block"
      item.style.background = "#398dee"
      item.style.color = "#ffffff"

   })
})
// var fh=document.querySelector("#fh")
document.querySelector("#fh").onclick = function () {

   window.scrollTo({
      top: 0,
      left: 0,
      behavior: "smooth"
   })

}